package com.dhcc.sdc.busi.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import com.dhcc.core.framework.base.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.sdc.busi.entity.SdcBusiEvaluationEntity;

/**
 * 
 * 
 * @ClassName: SdcBusiEvaluationMapper
 * @Description: TODO
 * @author jumper
 * @date 2021-09-14 16:36:24
 */
public interface SdcBusiEvaluationMapper  extends BaseMapper<SdcBusiEvaluationEntity> {
	
    List<SdcBusiEvaluationEntity> list(@Param("map")Map<String, Object> map);
    List<SdcBusiEvaluationEntity> page(@Param("page") Page<SdcBusiEvaluationEntity> page,@Param("map")Map<String, Object> map);

    List<SdcBusiEvaluationEntity> selectByEpisodeIdAndAssessmentIds(@Param("episodeId")Long episodeId, @Param("assessmentIds")List<Long> assessmentIds);

    SdcBusiEvaluationEntity selectByAssessmentIdsAndTiming(@Param("episodeId") Long episodeId, @Param("assessmentIds") List<Long> assessmentIds, @Param("sqlStr") String sqlStr);

    Integer isScored(@Param("map")Map<String, Object> map);
}
